<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
<!--    <link href="css/index_css.css" type="text/css" rel="stylesheet" />-->
    <style>
      *{
        font-family: "微软雅黑";
        margin: 0px;
        padding: 0px;
      }

      .inner{
        width: 1016px;
        margin: 0px auto;
        /* position: relative; */

      }
      /* 头部背景色 设置fixed 脱离文档流 */
      .top{
        height: 44px;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background-color:#2459a2;
      }
      /* 主体内容的背景色 */
      .main{
        clear: both;
        background-color: #ededed;
        margin-top: 44px;
      }

      .logo{
        width: 121px;
        height: 23px;
        background:url(../img/logo.png) no-repeat 0px 0px;
        margin-top: 11px;
        float: left;
      }
      .menu{
        float:left;
        margin-left: 20px;
        font-size: 12px;
        line-height: 44px;
      }
      .key_search{
        float: right;
        margin-top: 6px;
      }

      .tb{
        color:#c0cddf;
        display: inline-block;
        margin-left: -3px;
        padding: 0 13px 0 16px;
      }
      .tb:active{
        color:white;
        background-color: #204982;
      }
      .tb:hover{
        /* background-color: #3174cb; */
        color: #FFFFFF;
      }

      a{
        text-decoration: none;
      }
      .action_zc{
        float:right;
        margin-left: 20px;
        font-size: 12px;
        line-height: 44px;
      }
      .action_zc a{
        color: #FFFFFF;
        display: inline-block;
        height: 44px;
        margin:0 5px;
        padding: 0 20px;

      }
      .login_btn_a:hover{
        background-color: #3174cb;
      }


      .search_txt{
        background-color: #f4f4f4;
        border: 1px solid #e0e0e0;
        color:#333;
        height: 25px;
        padding: 2px 2px 2px 5px;
        width: 91px;
        float: left;
      }

      .i{
        width: 30px;
        height: 29px;
        display: inline-block;
        border: 1px solid #e0e0e0;
        border-left:0;
        background-color: #f4f4f4;
        float: left;
      }
      .ico{
        background-image: url(../img/icon_1.png);
        background-repeat: no-repeat;

        display: block;
        height: 12px;
        width: 11px;
        margin-top: 9px;
        margin-left: 11px;
        overflow: hidden;
      }

      .inner_main{
        width: 960px;
        margin: 0 auto;
        /* overflow: hidden; */
        height: auto;
        min-height: 713px;
        padding: 6px 28px 60px;
        background-color: #FFFFFF;
      }

      .main_l{
        width: 630px;
        background-color: chocolate;
        float: left;
        margin-top: 3px;
        overflow: hidden;
      }

      .main_r{
        width: 300px;
        float: right;
        padding-top: 4px;
        background-color: brown;
        min-height: 713px;
        height: auto;
      }
      css
    </style>
</head>
<body>
<!--头部信息 -->
<div class="top">
    <div class="inner">
        <div class="dht">
            <!-- 内联标签 -->
            <a href="#" class="logo"></a>
            <div class="menu">
                <a href="#" class="tb active">全部</a>
                <a href="#" class="tb">42区</a>
                <a href="#" class="tb">段子</a>
                <a href="#" class="tb">图片</a>
                <a href="#" class="tb">挨踢1024</a>
                <a href="#" class="tb">你问我答</a>
            </div>
            <div class="key_search">
                <form action="#" method="post" name="search_info" id="search_info1">
                    <input type="text" class="search_txt" name="words" />
                    <a href="#" class="i">
                        <span class="ico"></span>
                    </a>
                </form>
            </div>
            <div class="action_zc">
                <a href="#" class="login_btn_a">注册</a>
                <a href="#" class='login_btn_a'>登陆</a>

            </div>
        </div>

    </div>
</div>
<!-- 主体信息 -->
<div class="main">
    <div class="inner_main">
        <div class="main_l">左边</div>
        <div class="main_r">右边</div>
    </div>
</div>
<!-- 底部信息 -->
<div class="bottom">
    <div class="inner">
        该吃中饭了。
    </div>
</div>
</body>
</html>

HTML
